package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Product;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IProductService {
    PageInfo<Product> query(QueryObject qo);

    void saveOrUpdate(Product entity);

    PageInfo<Product> selectProductById(Long id,QueryObject qo);

    Product selectById(Long id);

    PageInfo<Product> selectByDate(QueryObject qo);

    PageInfo<Product> bathchGet(Long[] ids,QueryObject qo);

    List<Product> bathchGetList(Long[] ids);

    List<Product> selectByMoney();

}
